package com.rn.simple.common;

import com.rn.simple.domain.Simple;
import org.springframework.beans.BeanUtils;

public class MyTest {
    public void show() {
        Simple simple = new Simple();
        simple.setId("1");
        simple.setName("test");
        Simple simple2 = new Simple();
        BeanUtils.copyProperties(simple, simple2);
        System.out.println("show test!");
        System.out.println(simple2.toString());
    }
}
